package com.wolf.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;

/**
 * @auth: dylan
 * @Desc:
 * @Time: 2024/5/3
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wolf.client")
public class ClientProperties implements Serializable {
    /**
     * 连接地址
     */
    private String host;

    /**
     * 连接端口
     */
    private int port;

    /**
     * 工作线程数量
     */
    private int workThread;

}
